package com.ftg.learn.bus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 公车使用登记表
 * </p>
 *
 * @author lalala
 * @since 2022-03-07
 */
@TableName("sys_bus_use_registration")
@ApiModel(value = "BusUseRegistration对象", description = "公车使用登记表")
public class BusUseRegistration implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("公车使用登记表ID")
    @TableId(value = "burid", type = IdType.AUTO)
    private Long burid;

    @ApiModelProperty("公车ID")
    private Long bid;

    @ApiModelProperty("负责人姓名")
    private String dname;

    @ApiModelProperty("负责人联系方式")
    private String dphone;

    @ApiModelProperty("领用人")
    private String receiver;

    @ApiModelProperty("使用人姓名")
    private String userName;

    @ApiModelProperty("使用人联系方式")
    private String userPhone;

    @ApiModelProperty("起始地")
    private String startPlace;

    @ApiModelProperty("目的地")
    private String endPlace;

    @ApiModelProperty("出发里程")
    private String startMileage;

    @ApiModelProperty("返回里程")
    private String endMileage;

    @ApiModelProperty("借车时间")
    private LocalDateTime borrowTime;

    @ApiModelProperty("还车时间")
    private LocalDateTime returnTime;

    @ApiModelProperty("是否是特殊情况(0代表是,1代表不是)")
    private Integer isSpecial;

    @ApiModelProperty("实际用途")
    private String actualPurpose;

    public Long getBurid() {
        return burid;
    }

    public void setBurid(Long burid) {
        this.burid = burid;
    }
    public Long getBid() {
        return bid;
    }

    public void setBid(Long bid) {
        this.bid = bid;
    }
    public String getDname() {
        return dname;
    }

    public void setDname(String did) {
        this.dname = did;
    }
    public String getReceiver() {
        return receiver;
    }

    public String getDphone() {
        return dphone;
    }

    public void setDphone(String dphone) {
        this.dphone = dphone;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }
    public String getStartPlace() {
        return startPlace;
    }

    public void setStartPlace(String startPlace) {
        this.startPlace = startPlace;
    }
    public String getEndPlace() {
        return endPlace;
    }

    public void setEndPlace(String endPlace) {
        this.endPlace = endPlace;
    }
    public String getStartMileage() {
        return startMileage;
    }

    public void setStartMileage(String startMileage) {
        this.startMileage = startMileage;
    }
    public String getEndMileage() {
        return endMileage;
    }

    public void setEndMileage(String endMileage) {
        this.endMileage = endMileage;
    }
    public LocalDateTime getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(LocalDateTime borrowTime) {
        this.borrowTime = borrowTime;
    }
    public LocalDateTime getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(LocalDateTime returnTime) {
        this.returnTime = returnTime;
    }
    public Integer getIsSpecial() {
        return isSpecial;
    }

    public void setIsSpecial(Integer isSpecial) {
        this.isSpecial = isSpecial;
    }
    public String getActualPurpose() {
        return actualPurpose;
    }

    public void setActualPurpose(String actualPurpose) {
        this.actualPurpose = actualPurpose;
    }

    @Override
    public String toString() {
        return "BusUseRegistration{" +
            "burid=" + burid +
            ", bid=" + bid +
            ", dname=" + dname +
            ", dphone=" + dphone +
            ", receiver=" + receiver +
            ", userName=" + userName +
            ", userPhone=" + userPhone +
            ", startPlace=" + startPlace +
            ", endPlace=" + endPlace +
            ", startMileage=" + startMileage +
            ", endMileage=" + endMileage +
            ", borrowTime=" + borrowTime +
            ", returnTime=" + returnTime +
            ", isSpecial=" + isSpecial +
            ", actualPurpose=" + actualPurpose +
        "}";
    }
}
